import Vue from 'vue'
import Vuex from 'vuex'
import merchant from "./merchant"
import commodity from "./commodity"
import admin from "./admin"
// import store from './store'
import shop from "./shop"
Vue.use(Vuex)
// Vue.prototype.merchantId="";
Vue.prototype.modifyMerchantId=function(data){
  Vue.prototype.merchantId=data;
}

export default new Vuex.Store({
  // state:{
  //   merchantId: "5ecdd5f0933400001e003296",
  // },
  modules: {
    merchant,commodity,admin,shop
  }
})
